package com.dataStructure.队列;

public class Main_Queue {
    //java官方使用LinkedList实现队列
    public static void main(String[] args) {
        Queue<Integer> queue = new Queue<>();
        queue.enQueue(11);
        queue.enQueue(22);
        queue.enQueue(33);
        queue.enQueue(44);
        queue.enQueue(55);

        while (!queue.isEmpty()) {
            System.out.println(queue.deQueue());
        }

        Deque_双端队列<Integer> deque = new Deque_双端队列<>();
    }
}
